package com.qianfeng.mybatis.pojo;

import java.util.List;

public class Device {

  private Long id;
  private String devicesuuid;
  private String devicename;
  private java.util.Date addtime;
  private String address;
  private Long areaid;
  private String direction;
  private Long num;
  private String status;
  private java.util.Date lastconnecttime;
  private Long categoryid;

  private Category category;


  public Category getCategory() {
    return category;
  }

  public void setCategory(Category category) {
    this.category = category;
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }


  public String getDevicesuuid() {
    return devicesuuid;
  }

  public void setDevicesuuid(String devicesuuid) {
    this.devicesuuid = devicesuuid;
  }


  public String getDevicename() {
    return devicename;
  }

  public void setDevicename(String devicename) {
    this.devicename = devicename;
  }


  public java.util.Date getAddtime() {
    return addtime;
  }

  public void setAddtime(java.util.Date addtime) {
    this.addtime = addtime;
  }


  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }


  public Long getAreaid() {
    return areaid;
  }

  public void setAreaid(Long areaid) {
    this.areaid = areaid;
  }


  public String getDirection() {
    return direction;
  }

  public void setDirection(String direction) {
    this.direction = direction;
  }


  public Long getNum() {
    return num;
  }

  public void setNum(Long num) {
    this.num = num;
  }


  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }


  public java.util.Date getLastconnecttime() {
    return lastconnecttime;
  }

  public void setLastconnecttime(java.util.Date lastconnecttime) {
    this.lastconnecttime = lastconnecttime;
  }


  public Long getCategoryid() {
    return categoryid;
  }

  public void setCategoryid(Long categoryid) {
    this.categoryid = categoryid;
  }

  @Override
  public String toString() {
    return "Device{" +
            "id=" + id +
            ", devicesuuid='" + devicesuuid + '\'' +
            ", devicename='" + devicename + '\'' +
            ", addtime=" + addtime +
            ", address='" + address + '\'' +
            ", areaid=" + areaid +
            ", direction='" + direction + '\'' +
            ", num=" + num +
            ", status='" + status + '\'' +
            ", lastconnecttime=" + lastconnecttime +
            ", categoryid=" + categoryid +
            ", category=" + category +
            '}';
  }
}
